package com.boang.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
  @author: 13813
  @date: 2024/8/19 18:30
*/
@RestController
public class NgController {

    @Value("${server.port}")
    private String serverPort;

    @RequestMapping("/test")
    public String test() {
        return serverPort;
    }
}
